﻿<%@ Page Language="C#" MasterPageFile="~/UI/Main/Main.Master" AutoEventWireup="true"
    CodeBehind="AddNewMedia.aspx.cs" Inherits="OrganizedIN.UI.Media.AddNewMedia" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="middle_tab">
        <div id="middle_tab_title" align="center">
            My Media Interest</div>
        <div class="middle_tab_content">
            <br />
            <h4>
                You can Add, Search, Add Rating, Bookmark (online-media), Upload (offline-media 
                files), Re-Name, Re-Date (Add to a future Date), Delete, Archive, and Share with 
                your Group by clicking on the below icons:</h4>
            <br />
        </div>
        <div id="icon_link_wrapper" align="center">
            <table>
                <tr>
                    <td>
                        <div id="icon_primary_documents" align="center">
                            <a href="AddNewMedia.aspx">
                                <asp:Image ID="Image1" runat="server" ImageUrl="~/images/add_02.jpg" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary0" align="center">
                                <a href="SearchMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Search','','images/search_02.jpg',1)">
                                <asp:Image ID="Image2" runat="server" ImageUrl="~/images/search_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary1" align="center">
                            <a href="AddRatingMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add Rating','','images/add_rating_02.jpg',1)">
                                <asp:Image ID="Image3" runat="server" ImageUrl="~/images/add_rating_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary2" align="center">
                            <a href="BookmarkMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bookmark','','images/bookmark_02.jpg',1)">
                                <asp:Image ID="Image4" runat="server" ImageUrl="~/images/bookmark_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary3" align="center">
                            <a href="RenameMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Re-Name','','images/rename_02.jpg',1)">
                                <asp:Image ID="Image5" runat="server" ImageUrl="~/images/rename_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary4" align="center">
                            <a href="SubscribeMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Subscribe','','images/subscribe_02.jpg',1)">
                                <asp:Image ID="Image6" runat="server" ImageUrl="~/images/subscribe_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary5" align="center">
                            <a href="ShareMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Share with group','','images/share_02.jpg',1)">
                                <asp:Image ID="Image7" runat="server" ImageUrl="~/images/share_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary6" align="center">
                            <a href="DeleteMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Delete','','images/delete_02.jpg',1)">
                                <asp:Image ID="Image8" runat="server" ImageUrl="~/images/delete_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                    <td>
                        <div id="icon_secondary7" align="center">
                            <a href="ArchiveMedia.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Archive','','images/archive_02.jpg',1)">
                                <asp:Image ID="Image9" runat="server" ImageUrl="~/images/archive_01.jpg" Width="75"
                                    Height="75" border="0" /></a></div>
                    </td>
                </tr>
            </table>
        </div>
        <br />
        <br />
        <div class="documents_table">
            <table width="97%" border="0" cellspacing="1" cellpadding="5" align="center">
                <tr bgcolor="#d8e1f3">
                    <td colspan="4" align="left">
                        <h4>
                            <strong><asp:Label ID="lblTodayDate" runat="server" Text=""></asp:Label>
                            (Today)</strong> ▪ <a href="#"><strong>ReDate</strong></a></h4>
                    </td>
                </tr>
                <tr  bgcolor="#d8e1f3">
                    <td width="24%" align="right" class="middle_text3">
                        Media Name:
                    </td>
                    <td colspan="3" align="left">
                        <asp:TextBox ID="txt_MediaNAme" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td width="24%" align="right" class="middle_text3">
                        Media Summary:
                    </td>
                    <td colspan="3" align="left">
                        <asp:TextBox ID="txt_Summary" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td align="right" class="middle_text3">
                        Upload &#39;Offline Media&#39; file(s):
                    </td>
                    <td width="28%" align="left">
                         <asp:FileUpload ID="FileUpload_Media" runat="server" accept="avi|wmv|mpeg|mpg|mov|mp4"></asp:FileUpload>
                    </td>
                    <td width="12%" align="left">                         
                        <asp:Button ID="btn_Import" runat="server" CssClass="ImportButton" BorderWidth="0"
                            onclick="btn_Import_Click"  />                         
                    </td>
                    <td width="36%" align="left">
                        <asp:Button ID="btn_Search" runat="server" CssClass="Search_OButton"  BorderWidth="0"/>
                     </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td align="center" valign="middle" class="middle_text3">
                        <strong>OR</strong>
                    </td>
                    <td colspan="3" align="left">
                        &nbsp;
                    </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td align="right" class="middle_text3">
                        Bookmark &#39;Offline Media&#39; :
                    </td>
                    <td width="28%" align="left">
                        <asp:TextBox ID="txt_Bookmark" runat="server"></asp:TextBox>
                    </td>
                    <td colspan="2" align="left">
                        <asp:Button ID="btn_Bookmark" runat="server" CssClass="BookMarkButton" BorderWidth="0" 
                         onclick="btn_Bookmark_Click" />
                     </td>
                </tr>
                <tr>
                    <td class="middle_text3" colspan="4">
                          <asp:GridView ID="gvDocList" runat="server" AllowPaging="true" AutoGenerateColumns="false" HeaderStyle-ForeColor="Purple"
                    PageSize="5" Width="500px" BorderColor="White">
                    <Columns>                        
                        
                        <asp:BoundField DataField="Medie_ID" HeaderText="Media ID" HeaderStyle-BackColor="#c2cee7"
                        HeaderStyle-ForeColor="Purple" HeaderStyle-Width="100px" HeaderStyle-Font-Bold="true">
                        </asp:BoundField> 
                        
                        <asp:BoundField DataField="Media_Path" HeaderText="Media Online Path" HeaderStyle-BackColor="#c2cee7"
                        HeaderStyle-ForeColor="Purple" HeaderStyle-Width="400px" HeaderStyle-Font-Bold="true">
                        </asp:BoundField>                         
                         
                        
                    </Columns>
                </asp:GridView>
                    </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td align="right" class="middle_text3">
                        Subscribe/Un-Subscribe:
                    </td>
                    <td width="28%" align="left">
                        <asp:TextBox ID="txt_Subscribe" runat="server" Text="Add Detail"></asp:TextBox>
                    </td>
                    <td colspan="2" align="left">
                         
                    </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td align="right" class="middle_text3">
                        Add Media Rating:
                    </td>
                    <td colspan="3" align="left">
                        <span class="middle_text3">
                            <asp:DropDownList ID="ddl_Rating" runat="server">
                                <asp:ListItem>5 Star</asp:ListItem>
                                <asp:ListItem>4 Star</asp:ListItem>
                                <asp:ListItem>3 Star</asp:ListItem>
                                <asp:ListItem>2 Star</asp:ListItem>
                                <asp:ListItem>1 Star</asp:ListItem>
                            </asp:DropDownList>
                        </span>
                    </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td align="right" class="middle_text3">
                        Share :
                    </td>
                    <td colspan="3" align="left">
                        <asp:TextBox ID="txt_Share" runat="server" Text="Name/Group"></asp:TextBox>
                    </td>
                </tr>
                <tr bgcolor="#d8e1f3">
                    <td align="right" class="middle_text3">
                        &nbsp;
                    </td>
                    <td colspan="3" align="left">
                          <asp:Button ID="btn_Save" runat="server" CssClass="SaveButton" BorderWidth="0"
                            onclick="btn_Save_Click" />
                      </td>
                </tr>
            </table>
        </div>
        <br />
    </div>
</asp:Content>
